package com.candy.candymember.event;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author suYanLong
 * @date 2022年10月14日 14:23
 */
@Getter
@Setter
public class ScoreEvent extends ApplicationEvent {

    private String name;

    private Integer score;

    public ScoreEvent(Object source, String name, Integer score) {
        super(source);
        this.name = name;
        this.score = score;
    }

}
